package com.gu.mapper;

import com.gu.entity.Setting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SettingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Setting record);

    int insertSelective(Setting record);

    Setting selectByPrimaryKey(Integer id);

    List<Setting> getAllSetting();

    int updateByPrimaryKeySelective(Setting record);

    int updateByPrimaryKey(Setting record);

    Setting selectSettingByModuleAndName(@Param("module")String module,@Param("name") String name);
}